//
//  NSUserDefaults+YS.h
//  luGongPro
//
//  Created by 王庆学 on 2017/7/31.
//  Copyright © 2017年 王庆学. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSUserDefaults (YS)

+ (NSString *)didMigrateToAppGroupsKey;

+ (void)migrateOldUserDefaultToGroup;

+ (instancetype)userDefaultWithGroup;

+ (NSString *)userDefaultGroup;

+ (void)saveObject:(id)obj forKey:(NSString *)key;

+ (id)getObjectForKey:(NSString *)key;

+ (void)removeObjectForKey:(NSString *)key;

@end
